-- Network Working Group B. Stewart, Editor
-- Request for Comments: 1317 Xyplex, Inc.
-- April 1992
--
--
-- Definitions of Managed Objects for
-- RS-232-like Hardware Devices
--RFC1317-MIB DEFINITIONS::=BEGINIMPORTSCounterFROM RFC1155-SMI
transmission
FROM RFC1213-MIB
OBJECT-TYPEFROM RFC-1212;-- this is the MIB module for RS-232-like hardware devicesrs232 OBJECTIDENTIFIER::={ transmission 33}-- the generic RS-232-like group-- Implementation of this group is mandatory for all-- systems that have RS-232-like hardware ports-- supporting higher level services such as character-- streams or network interfacesrs232Number OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"The number of ports (regardless of their current
state) in the RS-232-like general port table."::={ rs232 1}-- the RS-232-like general Port tablers232PortTable OBJECT-TYPESYNTAXSEQUENCEOF Rs232PortEntry
ACCESSnot-accessibleSTATUSmandatoryDESCRIPTION"A list of port entries. The number of entries is
given by the value of rs232Number."::={ rs232 2}rs232PortEntry OBJECT-TYPESYNTAX Rs232PortEntry
ACCESSnot-accessible
STATUSmandatoryDESCRIPTION"Status and parameter values for a port."INDEX{ rs232PortIndex }::={ rs232PortTable 1}
Rs232PortEntry ::=SEQUENCE{
rs232PortIndex
INTEGER,
rs232PortType
INTEGER,
rs232PortInSigNumber
INTEGER,
rs232PortOutSigNumber
INTEGER,
rs232PortInSpeed
INTEGER,
rs232PortOutSpeed
INTEGER}rs232PortIndex OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"A unique value for each port. Its value ranges
between 1 and the value of rs232Number. By
convention and if possible, hardware port numbers
map directly to external connectors. The value for
each port must remain constant at least from one
re-initialization of the network management agent to
the next."::={ rs232PortEntry 1}rs232PortType OBJECT-TYPESYNTAXINTEGER{ other(1), rs232(2), rs422(3),
rs423(4), v35(5)}ACCESSread-onlySTATUSmandatoryDESCRIPTION"The port's hardware type."::={ rs232PortEntry 2}rs232PortInSigNumber OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"The number of input signals for the port in the
input signal table (rs232PortInSigTable). The table
contains entries only for those signals the software
can detect."::={ rs232PortEntry 3}rs232PortOutSigNumber OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"The number of output signals for the port in the
output signal table (rs232PortOutSigTable). The
table contains entries only for those signals the
software can assert."::={ rs232PortEntry 4}rs232PortInSpeed OBJECT-TYPESYNTAXINTEGERACCESSread-writeSTATUSmandatoryDESCRIPTION
"The port's input speed in bits per second."::={ rs232PortEntry 5}rs232PortOutSpeed OBJECT-TYPESYNTAXINTEGERACCESSread-writeSTATUSmandatoryDESCRIPTION"The port's output speed in bits per second."::={ rs232PortEntry 6}-- the RS-232-like Asynchronous Port group-- Implementation of this group is mandatory if the system-- has any asynchronous ports. Otherwise it is not-- present.rs232AsyncPortTable OBJECT-TYPESYNTAXSEQUENCEOF Rs232AsyncPortEntry
ACCESSnot-accessibleSTATUSmandatoryDESCRIPTION"A list of asynchronous port entries. The maximum
entry number is given by the value of rs232Number.
Entries need not exist for synchronous ports."::={ rs232 3}rs232AsyncPortEntry OBJECT-TYPESYNTAX Rs232AsyncPortEntry
ACCESSnot-accessibleSTATUSmandatoryDESCRIPTION"Status and parameter values for an asynchronous
port."INDEX{ rs232AsyncPortIndex }::={ rs232AsyncPortTable 1}
Rs232AsyncPortEntry ::=SEQUENCE{
rs232AsyncPortIndex
INTEGER,
rs232AsyncPortBits
INTEGER,
rs232AsyncPortStopBits
INTEGER,
rs232AsyncPortParity
INTEGER,
rs232AsyncPortAutobaud
INTEGER,
rs232AsyncPortParityErrs
Counter,
rs232AsyncPortFramingErrs
Counter,
rs232AsyncPortOverrunErrs
Counter}rs232AsyncPortIndex OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"A unique value for each port. Its value is the
same as rs232PortIndex for the port."::={ rs232AsyncPortEntry 1}rs232AsyncPortBits OBJECT-TYPESYNTAXINTEGER(5..8)ACCESSread-writeSTATUSmandatoryDESCRIPTION"The port's number of bits in a character."::={ rs232AsyncPortEntry 2}rs232AsyncPortStopBits OBJECT-TYPESYNTAXINTEGER{ one(1), two(2),
one-and-half(3), dynamic(4)}ACCESSread-writeSTATUSmandatoryDESCRIPTION"The port's number of stop bits."::={ rs232AsyncPortEntry 3}rs232AsyncPortParity OBJECT-TYPESYNTAXINTEGER{ none(1), odd(2), even(3),mark(4), space(5)}ACCESSread-writeSTATUSmandatoryDESCRIPTION"The port's sense of a character parity bit."::={ rs232AsyncPortEntry 4}rs232AsyncPortAutobaud OBJECT-TYPESYNTAXINTEGER{ enabled(1), disabled(2)}ACCESSread-writeSTATUSmandatoryDESCRIPTION
"A control for the port's ability to automatically
sense input speed.
When rs232PortAutoBaud is 'enabled', a port may
autobaud to values different from the set values for
speed, parity, and character size. As a result a
network management system may temporarily observe
values different from what was previously set."::={ rs232AsyncPortEntry 5}rs232AsyncPortParityErrs OBJECT-TYPESYNTAXCounterACCESSread-onlySTATUSmandatoryDESCRIPTION"Total number of characters with a parity error,
input from the port since system re-initialization
and while the port state was 'up' or 'test'."::={ rs232AsyncPortEntry 6}rs232AsyncPortFramingErrs OBJECT-TYPESYNTAXCounterACCESSread-onlySTATUSmandatoryDESCRIPTION"Total number of characters with a framing error,
input from the port since system re-initialization
and while the port state was 'up' or 'test'."::={ rs232AsyncPortEntry 7}rs232AsyncPortOverrunErrs OBJECT-TYPESYNTAXCounterACCESSread-onlySTATUSmandatoryDESCRIPTION"Total number of characters with an overrun error,
input from the port since system re-initialization
and while the port state was 'up' or 'test'."::={ rs232AsyncPortEntry 8}-- the RS-232-like Synchronous Port group-- Implementation of this group is mandatory if the system-- has any synchronous ports. Otherwise it is not-- present.rs232SyncPortTable OBJECT-TYPESYNTAXSEQUENCEOF Rs232SyncPortEntry
ACCESSnot-accessibleSTATUSmandatoryDESCRIPTION"A list of synchronous port entries. The maximum
entry number is given by the value of rs232Number.
Entries need not exist for asynchronous ports."::={ rs232 4}rs232SyncPortEntry OBJECT-TYPESYNTAX Rs232SyncPortEntry
ACCESSnot-accessibleSTATUSmandatoryDESCRIPTION"Status and parameter values for a synchronous
port."INDEX{ rs232SyncPortIndex }::={ rs232SyncPortTable 1}
Rs232SyncPortEntry ::=SEQUENCE{
rs232SyncPortIndex
INTEGER,
rs232SyncPortClockSource
INTEGER,
rs232SyncPortFrameCheckErrs
Counter,
rs232SyncPortTransmitUnderrunErrs
Counter,
rs232SyncPortReceiveOverrunErrs
Counter,
rs232SyncPortInterruptedFrames
Counter,
rs232SyncPortAbortedFrames
Counter}rs232SyncPortIndex OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"A unique value for each port. Its value is the
same as rs232PortIndex for the port."::={ rs232SyncPortEntry 1}rs232SyncPortClockSource OBJECT-TYPESYNTAXINTEGER{ internal(1), external(2), split(3)}ACCESSread-writeSTATUSmandatoryDESCRIPTION"Source of the port's bit rate clock. 'split' means
the tranmit clock is internal and the receive clock
is external."::={ rs232SyncPortEntry 2}rs232SyncPortFrameCheckErrs OBJECT-TYPESYNTAXCounterACCESSread-onlySTATUSmandatoryDESCRIPTION"Total number of frames with an invalid frame check
sequence, input from the port since system
re-initialization and while the port state was 'up'
or 'test'."::={ rs232SyncPortEntry 3}rs232SyncPortTransmitUnderrunErrs OBJECT-TYPESYNTAXCounterACCESSread-onlySTATUSmandatoryDESCRIPTION"Total number of frames that failed to be
transmitted on the port since system
re-initialization and while the port state was 'up'
or 'test' because data was not available to the
transmitter in time."::={ rs232SyncPortEntry 4}rs232SyncPortReceiveOverrunErrs OBJECT-TYPESYNTAXCounterACCESSread-onlySTATUSmandatoryDESCRIPTION"Total number of frames that failed to be received
on the port since system re-initialization and while
the port state was 'up' or 'test' because the
receiver did not accept the data in time."::={ rs232SyncPortEntry 5}rs232SyncPortInterruptedFrames OBJECT-TYPESYNTAXCounterACCESSread-onlySTATUSmandatoryDESCRIPTION"Total number of frames that failed to be received
or transmitted on the port due to loss of modem
signals since system re-initialization and while the
port state was 'up' or 'test'."::={ rs232SyncPortEntry 6}
rs232SyncPortAbortedFrames OBJECT-TYPESYNTAXCounterACCESSread-onlySTATUSmandatoryDESCRIPTION"Number of frames aborted on the port due to
receiving an abort sequence since system
re-initialization and while the port state was 'up'
or 'test'."::={ rs232SyncPortEntry 7}-- the Input Signal tablers232InSigTable OBJECT-TYPESYNTAXSEQUENCEOF Rs232InSigEntry
ACCESSnot-accessibleSTATUSmandatoryDESCRIPTION"A list of port input control signal entries."::={ rs232 5}rs232InSigEntry OBJECT-TYPESYNTAX Rs232InSigEntry
ACCESSnot-accessibleSTATUSmandatoryDESCRIPTION"Input control signal status for a hardware port."INDEX{ rs232InSigPortIndex, rs232InSigName }::={ rs232InSigTable 1}
Rs232InSigEntry ::=SEQUENCE{
rs232InSigPortIndex
INTEGER,
rs232InSigName
INTEGER,
rs232InSigState
INTEGER,
rs232InSigChanges
Counter}rs232InSigPortIndex OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"The value of rs232PortIndex for the port to which
this entry belongs."::={ rs232InSigEntry 1}rs232InSigName OBJECT-TYPESYNTAXINTEGER{ rts(1), cts(2), dsr(3), dtr(4), ri(5),dcd(6), sq(7), srs(8), srts(9),scts(10), sdcd(11)}ACCESSread-onlySTATUSmandatoryDESCRIPTION"Identification of a hardware signal, as follows:
rts Request to Send
cts Clear to Send
dsr Data Set Ready
dtr Data Terminal Ready
ri Ring Indicator
dcd Received Line Signal Detector
sq Signal Quality Detector
srs Data Signaling Rate Selector
srts Secondary Request to Send
scts Secondary Clear to Send
sdcd Secondary Received Line Signal Detector
"REFERENCE"EIA Standard RS-232-C, August 1969."::={ rs232InSigEntry 2}rs232InSigState OBJECT-TYPESYNTAXINTEGER{ none(1), on(2), off(3)}ACCESSread-onlySTATUSmandatoryDESCRIPTION"The current signal state."::={ rs232InSigEntry 3}rs232InSigChanges OBJECT-TYPESYNTAXCounterACCESSread-onlySTATUSmandatoryDESCRIPTION"The number of times the signal has changed from
'on' to 'off' or from 'off' to 'on'."::={ rs232InSigEntry 4}-- the Output Signal tablers232OutSigTable OBJECT-TYPESYNTAXSEQUENCEOF Rs232OutSigEntry
ACCESSnot-accessibleSTATUSmandatory
DESCRIPTION"A list of port output control signal entries."::={ rs232 6}rs232OutSigEntry OBJECT-TYPESYNTAX Rs232OutSigEntry
ACCESSnot-accessibleSTATUSmandatoryDESCRIPTION"Output control signal status for a hardware port."INDEX{ rs232OutSigPortIndex, rs232OutSigName }::={ rs232OutSigTable 1}
Rs232OutSigEntry ::=SEQUENCE{
rs232OutSigPortIndex
INTEGER,
rs232OutSigName
INTEGER,
rs232OutSigState
INTEGER,
rs232OutSigChanges
Counter}rs232OutSigPortIndex OBJECT-TYPESYNTAXINTEGERACCESSread-onlySTATUSmandatoryDESCRIPTION"The value of rs232PortIndex for the port to which
this entry belongs."::={ rs232OutSigEntry 1}rs232OutSigName OBJECT-TYPESYNTAXINTEGER{ rts(1), cts(2), dsr(3), dtr(4), ri(5),
dcd(6), sq(7), srs(8), srts(9),scts(10), sdcd(11)}ACCESSread-onlySTATUSmandatoryDESCRIPTION"Identification of a hardware signal, as follows:
rts Request to Send
cts Clear to Send
dsr Data Set Ready
dtr Data Terminal Ready
ri Ring Indicator
dcd Received Line Signal Detector
sq Signal Quality Detector
srs Data Signaling Rate Selector
srts Secondary Request to Send
scts Secondary Clear to Send
sdcd Secondary Received Line Signal Detector
"REFERENCE"EIA Standard RS-232-C, August 1969."::={ rs232OutSigEntry 2}rs232OutSigState OBJECT-TYPESYNTAXINTEGER{ none(1), on(2), off(3)}ACCESSread-only
STATUSmandatoryDESCRIPTION"The current signal state."::={ rs232OutSigEntry 3}rs232OutSigChanges OBJECT-TYPESYNTAXCounterACCESSread-onlySTATUSmandatoryDESCRIPTION"The number of times the signal has changed from
'on' to 'off' or from 'off' to 'on'."::={ rs232OutSigEntry 4}END